package com.scheduling.inventory.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 原料库存查询条件DTO
 *
 * @author 开发团队
 * @since 2025-05-29
 */
@Data
@Schema(description = "原料库存查询条件")
public class MaterialInventoryQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "原料ID")
    private String materialId;

    @Schema(description = "原料名称（模糊查询）")
    private String materialName;

    @Schema(description = "库存数量最小值")
    private BigDecimal minQuantity;

    @Schema(description = "库存数量最大值")
    private BigDecimal maxQuantity;

    @Schema(description = "是否库存不足（true-仅显示不足的库存）")
    private Boolean isLowStock;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "当前页码", example = "1")
    private Integer current = 1;

    @Schema(description = "每页条数", example = "10")
    private Integer size = 10;
} 